       CAE Gate Decal Library Help 

CAE Gate Decals are used to specify the 
graphical information associated with gates
of a part in the schematic.

Each decal contains information on the 
outline; default location of the ref-des,
parttype name and the pad/pin locations.

All text sizes and line widths are in units
of 0.001 inch.
All co-ordinate values are in units of
0.002 inch.
-------------------------------------------   
The format for a Decal items is:
-------------------------------------------   
(Items that are not in capital letters are
Optional)

DECALNAME X Y PIECES TERMS text
RDX RDY RDO RDJ PTX PTY PTO PTJ ...
  ... VLX VLY VLO VLJ TLX TLY TLO TLJ
VIS RDH RDW PTH PTW
{for each piece in outline ...}
PIECETYPE NUMCRNS
{for each corner in piece ...}
X Y {for line segment corner}
  or
X Y A1 A2 Z LX LY UX UY {for each arc segment}
  ...
{for each text item ...}
X Y ORI HEIGHT LWIDTH
TEXT
  ...
{for each terminal in symbol ...}
T X Y PNUMX PNUMY PNAMX PNAMY TFLAGS PINDECAL
P TSX TSY TNX TNY PFLAGS
  ...
------------------------------------------
>DECALNAME X Y PIECES TERMS text

DECALNAME : User defined name (max 16 chars)
X,Y       : origin of the symbol
PIECES    : Number of pieces in the decal
            outline 
TERMS     : Number of terminals in the 
            Decal.
text      : number of text strings associated
            with the decal item (optional).
------------------------------------------   
> RDX RDY RDO RDJ PTX PTY PTO PTJ ...
  ... VLX VLY VLO VLJ TLX TLY TLO TLJ

Substitute as follows:-
**  <name>
RD  Reference Designator   
PT  Part Type 
VL  Value
TL  Tolerance

**X **Y : Default x & y location of <name>.
**O     : Default orientation of <name>
          permitted values - 0 & 270 degrees.
**J     : Default justification of <name> -
          Bit 0: 0 = Left, 1 = Right.
          Bit 1: 0 = Bottom, 1 = Top.
          Bit 2: 0 = Left or Right, 1 = Center.
          Bit 3: 0 = Bottom or Top, 1 = Middle.
------------------------------------------   
> VIS RDH RDW PTH PTW

VIS : Default display values for names
      If bit is set then don't display.
      Ref-Des   - bit 0 
      Part Nm   - bit 1
      Value     - bit 2
      Tolerance - bit 3
      Pin Num   - bit 4
RDH:  Ref-Des text height.
RDW:  Ref-Des text line width.
PTH:  Part Type text height.
PTW:  Part Type text line width.
------------------------------------------   
> PIECETYPE NUMCRNS WIDTH

PIECETYPE: Type of piece being described.
         OPEN   - segments are open ended.
         CLOSED - segments form closed shape
                  1st & last corners same.
         CIRCLE - piece must have two corners
                  which describe the diameter.
         COPOPN - same as OPEN.
         COPCLS - filled shape.

NUMCRNS: Number of corners in the piece.
WIDTH  : Line width to draw the piece outline.
------------------------------------------   
> X Y
  or
> X Y A1 A2 Z LX LY UX UY

X,Y:  x,y coordinate of corner
A1:   start angle in degrees of the arc 
A2:   angle in degrees subtended by arc.
Z:    not used.
LX LY UX UY: rectangle around circle on
             which the arc is described.
------------------------------------------   
> X Y ORI HEIGHT LWIDTH

X,Y:    position of text relative to the
        decal origin.
ORI:	  rotation of text (0 or 270).
HEIGHT: height of the text.
LWIDTH: line width used to draw the text.
------------------------------------------   
> TEXT

TEXT:   string of text associated with the 
lines item
------------------------------------------
> T X Y PNUMX PNUMY PNAMX PNAMY TFLAGS PINDECAL

X Y :    Location of the terminal relative
         to the decal origin.
PNUMX PNUMY : Location of the pin number 
         relative to the terminal.
PNAMX PNAMY : Location of the pin name 
         relative to the terminal.
TFLAGS : Orientation & mirroring of terminal,
         pin number, & pin name.  Bits are
         defined as follows:-
         bit 0 - Terminal rotated 270 degrees
         bit 1 - Terminal mirrored in X
         bit 2 - Terminal mirrored in Y
         bit 3 - Pin number rotated 270 degr.
         bit 4 - Pin name rotated 270 degr.
         bit 5 - Pin number right justified.
         bit 6 - Pin name right justified.
PINDECAL: Name of the pin decal.
------------------------------------------
> P TSX TSY TNX TNY PFLAGS

TSX TSY: Position of the Pin Type/Swap text
         relative to the terminal.
TNX TNY: Unused - Reserved for future use.
PFLAGS:  Orientation, justification and
         visibility of these "names".
         Bits are defined as follows:-
         Bit 0 - Pin Type/Swap rotated 270.
         Bit 2 - Pin Type/Swap right just.
         Bit 4 - Pin Type/Swap invisible.
------------------------------------------
            <END OF HELP FILE>
